summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-04-20 20:16:02 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:53 +0200
commit8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a (patch)
tree7ea4d288f829450dfbcd956d40c1b1701e15cdb4
parentandroid: Use different colors for logo in options menu (diff)
downloadyuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar
yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.gz
yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.bz2
yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.lz
yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.xz
yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.zst
yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.zip
-rw-r--r--src/android/app/src/main/res/layout/card_home_option.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml
index aea354783..aa535943f 100644
--- a/src/android/app/src/main/res/layout/card_home_option.xml
+++ b/src/android/app/src/main/res/layout/card_home_option.xml
@@ -6,9 +6,10 @@
android:id="@+id/option_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginVertical="8dp"
+ android:layout_marginVertical="12dp"
android:layout_marginHorizontal="16dp"
android:background="?attr/selectableItemBackground"
+ android:backgroundTint="?attr/colorSurfaceVariant"
android:clickable="true"
android:focusable="true">
@@ -20,14 +21,15 @@
android:id="@+id/option_icon"
android:layout_width="24dp"
android:layout_height="24dp"
- android:layout_marginStart="28dp"
+ android:layout_marginStart="24dp"
android:layout_gravity="center_vertical"
- app:tint="?attr/colorPrimary" />
+ app:tint="?attr/colorOnSurface" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
+ android:layout_marginVertical="10dp"
+ android:layout_marginHorizontal="20dp"
android:orientation="vertical">
<com.google.android.material.textview.MaterialTextView
@@ -36,6 +38,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
+ android:textStyle="bold"
+ android:textSize="16sp"
tools:text="@string/install_prod_keys" />
<com.google.android.material.textview.MaterialTextView
@@ -44,6 +48,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
+ android:textSize="14sp"
+ android:layout_marginTop="5dp"
tools:text="@string/install_prod_keys_description" />
</LinearLayout>